package com.hyz.login.mapper;

import com.hyz.login.model.Cashier;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zwq
 * @since 2022-11-22
 */
public interface CashierMapper extends BaseMapper<Cashier> {

    Integer updCashier(Cashier cashier);


    //获取药品总金额
    Integer findById(@Param("reportId") Integer reportId);

    Integer modifyFeiById(@Param("reportId") Integer reportId);

    Integer modifyProjectByCashier(@Param("reid") Integer reid,
                                   @Param("bing") String bing,
                                   @Param("cashier") Integer cashier);

    Integer findSumByReportId(@Param("reportId") Integer reportId);

}
